package xcmg.device.dao.mapper.borrowMaterial;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.data.redis.core.BoundGeoOperations;
import xcmg.device.dao.entity.borrowMaterial.BorrowMaterialDetailDO;

import java.util.List;

@Mapper
public interface BorrowMaterialDetailMapper {

    boolean insert(BorrowMaterialDetailDO borrowMaterialDetailDO);

    boolean deleteById(BorrowMaterialDetailDO borrowMaterialDetailDO);

    boolean updateById(BorrowMaterialDetailDO borrowMaterialDetailDO);

    List<BorrowMaterialDetailDO> selectList(BorrowMaterialDetailDO borrowMaterialDetailDO);

    BorrowMaterialDetailDO selectById(@Param("id") String id);

    boolean batchInsert(List<BorrowMaterialDetailDO> borrowMaterialDetailDOList);

    boolean batchUpdate(List<BorrowMaterialDetailDO> borrowMaterialDetailDOList);

    boolean delete(BorrowMaterialDetailDO borrowMaterialDetailDO);

    boolean batchDeleteByBorrowId(List<String> ids);
}
